{# src/Abzu/ArticlesBundle/Resources/views/Articles/show.html.twig #}
{% extends 'AbzuArticlesBundle::base.html.twig' %}

{% block title %}{{ article.title }}{% endblock %}

{% block body %}	

    <div class="mo-container sdPageBox mo-rounded-box abzu-article">
        <div class="mo-box mo-rounded-box">
            <div class="mo-box-header">
                    <h2>{{ article.title }}</h2>
                <span>
                    <div class="date"><time datetime="{{ article.created|date('c') }}">{{ article.created|date('l, F j, Y') }}</time></div>
                </span>
            </div>

            <div class="mo-box-content">
                
                <div>
                    <p>{{ article.body }}</p>
                </div>
                <div>
                <div style="clear: both"></div>
                </div>
            </div>
            <div class="mo-box-footer">
                
                <div>Posted at {{ article.created|date('h:iA') }}</div>
                
            </div>
        </div>
    </div>  

{% endblock %}
